<%@ include file="/common/taglibs.jsp"%>
<probiz:pageHeading pageHeadingKey="menu.taxRateList" />

<content tag="buttons">
	<probiz:iconBtn btnType="add" onclick="return fnDoAdd(this)"/>
	<probiz:iconBtn btnType="delete" onclick="return fnDoMultiDelete(this, false);"/>
	
</content>

<form class="mainForm" name="taxRateListFrm" method="post">
<div class="top clearfix">
	<ul class="tab">
		<li class="curr"><span><fmt:message key="menu.taxRateList"/></span></li>
	</ul>
	<%@include file="/common/pagingOnlyTop.jsp"%>
</div>
<div class="data">
<!--editURLPath is used in TblDecorator-->
<c:set var="checkAll"><input type="checkbox" name="allbox" onclick="checkAll(this.form)" style="margin: 0 0 0 0px" /></c:set>
<display:table name="${taxRateList}" cellspacing="0" cellpadding="0" uid="taxRateItem" class="list_table" export="false" requestURI="" >
	<display:column class="checkbox_column" title="${checkAll}"  media="html">
	    <input  type="checkbox" name="multiIds" value="<c:out value="${taxRateItem.taxRateId}"/>"/>
	</display:column>
    <display:column sortable="true"  url="/system/taxRate.html?doAction=edit&from=list" paramId="taxRateId" paramProperty="taxRateId"
        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="taxRate.taxId">
		${taxRateItem.tax.taxName}
		</display:column>	
    <display:column sortable="true" 
        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="taxRate.productTypeId">${taxRateItem.productType.productTypeName}</display:column>

    <display:column sortable="false" 
        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="taxRate.regionId">
			${taxRateItem.region.fullName}
		</display:column>
    <display:column sortable="true" 
        decorator="com.probiz.estore.core.decorator.TblColumnDecorator" titleKey="taxRate.rateValue">${taxRateItem.rateValue}%</display:column>
</display:table>
<%@include file="/common/paging.jsp"%>
</div>
</form>
<script type="text/javascript">
<!--
highlightTableRows("taxRateItem");
//-->
</script>

